<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<style>
.page-content .wraping {
    padding: 10px;
    background-color: #f3f3f3;
    min-height: calc(100% - 36px);
}
</style>
<body class="page-header-fixed">
<!-- div>
<a class="btn blue" href="javascript:;"  ng-click="to_generate();"> <i class="fa"></i> 生成统付数据 </a>
<a class="btn blue" href="javascript:;"  ng-click="to_query();"> <i class="fa "></i> 查询已生成统付数据 </a>
</div-->
<div class="modal-dialog"  id="adjustAccountModel">
			<div class="modal-content">
				<div class="modal-header">
					<h4 class="modal-title">调账</h4>
				</div>
				<div class="modal-body form">
					<div class="form-group">
						<div class="row">
							<label class="col-sm-3 control-label text-right" >合作商</label>
							<div class="col-sm-8">
								<div class="input-group">
									<select ng-options="merchant.merchantCode as merchant.name for merchant in merchantMap" 
													ng-model="adjustAccountModel.merchantCode" class="form-control bValidate flexselect" key="required">
												<option value=""></option>
									</select> 
								 </div>
							</div>  
						</div>
						<div class="row">
							<label class="col-sm-3 control-label text-right">源账户</label>
							<div class="col-sm-8">
								<div class="input-group">
									<select ng-options="subject.subjectCode  as subject.subjectName for subject in adjustAccountList" 
										ng-model="adjustAccountModel.sourceSubjectCode" class="form-control bValidate"     key="required"> 
									<option value="">请选择源账户</option>
									</select> 
								</div>
							</div>
						</div>
						<div class="row">
							<label class="col-sm-3 control-label text-right">目标账户</label>
							<div class="col-sm-8">
								<div class="input-group">
										<select ng-options="subject.subjectCode  as subject.subjectName for subject in targetAccountList" 
											ng-model="adjustAccountModel.targetSubjectCode" class="form-control  bValidate"     key="required"> 
											<option value="">请选择目标账户</option>
										</select> 
								</div>
							</div>
						</div>
						<div class="row">
							<label class="col-sm-3 control-label text-right">金额</label>
							<div class="col-md-8">
										<div class="input-group">
											<input type="text" ng-model="adjustAccountModel.amount"   class=" form-control  bValidate "  key="required,decimal">
										</div>
							</div>
						</div>
						<div class="row">
							<label class="col-sm-3 control-label text-right">备注</label>
							<div class="col-sm-8">
								<div class="input-group">
									<textarea rows="4" cols="20" ng-model="adjustAccountModel.remark"   class=" form-control   bValidate"   key="required,maxlength_60" > </textarea>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary"  ng-disabled="flag"
						ng-click="save()">
						<i class="fa fa-check"></i>保存
					</button>
				</div>
			</div>
		</div>

</body>
<script src="manageView/assets/scripts/public.js" type="text/javascript"></script>
</html>  